package com.ionehe.group.common.uaa.ex.application.model;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.List;

/**
 * @USER:秀
 * @DATE: 2020/11/30
 * @PROJECT_NAME: general-permissions
 * @Description 用户修改类
 **/
@Data
@ApiModel("用户修改类")
public class UserInfoUpdateVO {

    /**
     * 主键
     */
    @ApiModelProperty(value = "id", example = "1", dataType = "Long", required = true)
    private Long id;

    /**
     * 公司id
     */
    @ApiModelProperty(value = "公司id", example = "1", dataType = "Long", required = true)
    private Long customerId;

    /**
     * 姓名
     */
    @ApiModelProperty(value = "姓名", example = "1", dataType = "String", required = true)
    private String name;

    /**
     * 手机号
     */
    @ApiModelProperty(value = "手机号", example = "1", dataType = "String", required = true)
    private String phone;

    /**
     * 头像
     */
    @ApiModelProperty(value = "头像", example = "1", dataType = "String", required = true)
    private String avatar;

    /**
     * 状态（已禁用-1，已启用1）
     */
    @ApiModelProperty(value = "状态(已禁用-1，已启用1)", example = "1", dataType = "Integer", required = true)
    private Integer status;

    /**
     * 类型（管理员0，员工1）
     */
    @ApiModelProperty(value = "类型(管理员0，员工1)", example = "1", dataType = "Integer", required = true)
    private Integer type;

    /**
     * 角色列表
     */
    @ApiModelProperty(value = "角色列表", required = true)
    private List<Long> roleInfoIdList;

    /**
     * 合作团队
     */
    @ApiModelProperty(value = "合作团队", example = "数美科技", dataType = "String", required = true)
    private String cooperationTeam;

    /**
     * 备注
     */
    @ApiModelProperty(value = "备注", example = "", dataType = "String", required = true)
    private String remark;

    @ApiModelProperty(value = "性别 0 男 1女", example = "", dataType = "Integer")
    private Integer sex;

    @ApiModelProperty(value = "关联部门Id",required = true)
    private Long deptId;

    @ApiModelProperty(value = "关联岗位Id")
    private Long postId;
}
